package com.jdew.thkj.activity;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.jdew.thkj.R;
import com.jdew.thkj.base.BaseActivity;

import butterknife.Bind;

/**
 * Created by yangyang on 2017/9/12.
 */

public class MessageCenterActivity extends BaseActivity {
    @Bind(R.id.title)
    TextView title;
    @Bind(R.id.back)
    ImageView back;

    @Override
    public int bindLayout() {
        return R.layout.activity_message_center;
    }

    @Override
    public void initView(View view) {
        back.setVisibility(View.VISIBLE);
        back.setOnClickListener(this);
        title.setVisibility(View.VISIBLE);
        title.setText("消息中心");
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.back: {
                finish();
            }
            default:
                break;
        }
    }

}
